//工作台
//import WorkNavCom from "./WorkNavCom"
//欢迎界面
//import welcomeCom from './welcomeCom'
// 空组件， 标明路径跳转
import BaseCom from './BaseCom'
const welcomeCom = resolve => {
    require.ensure(['./welcomeCom'], () => {
        resolve(require('./welcomeCom'))
    })
}
const WorkNavCom = resolve => {
    require.ensure(['./WorkNavCom'], () => {
        resolve(require('./WorkNavCom'))
    })
}
// 定义子模块路由
const welcomeRoutes = [{
    path: 'worknav',
    component: BaseCom,
    children: [
        // 工作台
        {
            path: 'WorkNavCom',
            component: WorkNavCom
        },
        // 欢迎界面
        {
            path: 'welcomeCom',
            component: welcomeCom
        },
    ]
}]
export default welcomeRoutes